package com.link2room.rodimus.dto.param.base;

import com.link2room.common.dto.result.base.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import java.util.List;

/**
 * Created by LN on 2018/1/4
 */
@ApiModel
public class SignInBaseDto extends BaseDto {
    @ApiModelProperty(value = "代码")
    private String code;
    @ApiModelProperty(value = "是否自动续期")
    private String isAutoExtension;
    @ApiModelProperty(value = "是否在使用中")
    private String isInUse;
    @ApiModelProperty(value = "是否结束")
    private String isOver;
    @ApiModelProperty(value = "开始月份")
    private Date startMonth;
    @ApiModelProperty(value = "结束月份")
    private Date endMonth;
    @ApiModelProperty(value = "是否可以补签")
    private String couldReissue;
    @ApiModelProperty(value = "标题")
    private String title;
    @ApiModelProperty(value = "描述")
    private String description;
    @ApiModelProperty(value = "奖励规则")
    private List<SignInAwardBaseDto> signInAwardBases;
    @ApiModelProperty(value = "入住赠送")
    private SignInReissueRuleResvDto signInReissueRuleResv;
    @ApiModelProperty(value = "分享助力")
    private SignInReissueRuleShareDto signInReissueRuleShare;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getIsInUse() {
        return isInUse;
    }

    public void setIsInUse(String isInUse) {
        this.isInUse = isInUse;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getIsAutoExtension() {
        return isAutoExtension;
    }

    public void setIsAutoExtension(String isAutoExtension) {
        this.isAutoExtension = isAutoExtension;
    }

    public Date getStartMonth() {
        return startMonth;
    }

    public void setStartMonth(Date startMonth) {
        this.startMonth = startMonth;
    }

    public Date getEndMonth() {
        return endMonth;
    }

    public void setEndMonth(Date endMonth) {
        this.endMonth = endMonth;
    }

    public String getCouldReissue() {
        return couldReissue;
    }

    public void setCouldReissue(String couldReissue) {
        this.couldReissue = couldReissue;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public List<SignInAwardBaseDto> getSignInAwardBases() {
        return signInAwardBases;
    }

    public void setSignInAwardBases(List<SignInAwardBaseDto> signInAwardBases) {
        this.signInAwardBases = signInAwardBases;
    }

    public SignInReissueRuleResvDto getSignInReissueRuleResv() {
        return signInReissueRuleResv;
    }

    public void setSignInReissueRuleResv(SignInReissueRuleResvDto signInReissueRuleResv) {
        this.signInReissueRuleResv = signInReissueRuleResv;
    }

    public SignInReissueRuleShareDto getSignInReissueRuleShare() {
        return signInReissueRuleShare;
    }

    public void setSignInReissueRuleShare(SignInReissueRuleShareDto signInReissueRuleShare) {
        this.signInReissueRuleShare = signInReissueRuleShare;
    }

    public String getIsOver() {
        return isOver;
    }

    public void setIsOver(String isOver) {
        this.isOver = isOver;
    }

    @Override
    public String toString() {
        return "SignInBaseDto{" +
                "code='" + code + '\'' +
                ", isAutoExtension='" + isAutoExtension + '\'' +
                ", isInUse='" + isInUse + '\'' +
                ", isOver='" + isOver + '\'' +
                ", startMonth=" + startMonth +
                ", endMonth=" + endMonth +
                ", couldReissue='" + couldReissue + '\'' +
                ", title='" + title + '\'' +
                ", description='" + description + '\'' +
                ", signInAwardBases=" + signInAwardBases +
                ", signInReissueRuleResv=" + signInReissueRuleResv +
                ", signInReissueRuleShare=" + signInReissueRuleShare +
                '}';
    }
}
